Ext.define('appmod.view.knowledge.content.colligation.MainGrid', {
    extend: 'Ext.panel.Panel',
    alias: [
		'widget.knowledge.content.colligation.maingrid',
		'widget.knowledge-content-colligation-maingrid'
	],
	margins:"5 5 5 0",
	
	requires: [
		'appmod.view.knowledge.content.colligation.List',
		'appmod.view.knowledge.content.BigView'
    ],
	
    layout:{
		type:'border'
	},
    initComponent: function() {
		//--- this variable is set for winCat

		var me = this;
        
        Ext.applyIf(me, {
        	// --- set the security setting handle --
            items: [
				{
		            xtype: 'knowledge.content.colligation.list',
		            margins: "5 0 5 5",
		            region: 'center'
		        }
				,
				{
					width: 500,
                    collapsed: false,
                	split:true,
					plain:true,
					autoScroll:true,
					margins:"5 5 5 0",
					xtype:'tabpanel',
    				region : 'east',
					activeTab:0,
					items:[
						{
							title:'附件',
							xtype:'knowledge.content.bigview'
						}
					]
				}

            ]
	
        });

        
        me.callParent(arguments);
    }
});